package com.ktwlrj.securitycenter.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ktwlrj.core.base.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
/**
 * 特殊房屋交易实体类
 *
 * @author makejava
 * @since 2020-02-24 18:08:13
 */
@Getter
@Setter
@ToString
@TableName("fcjy_safe_special")
public class SafeSpecialEntity extends SuperEntity {
    private static final long serialVersionUID = 323251584694938799L;

    @TableId
    private String specialId;
    
    @ApiModelProperty(name = "specialCode", value = "编号")     
    private String specialCode;
    
    @ApiModelProperty(name = "targetCount", value = "限制对象数")     
    private Integer targetCount;
    
    @ApiModelProperty(name = "personCount", value = "限制人员数")     
    private Integer personCount;
    
    @ApiModelProperty(name = "ruleCode", value = "规则 编号")     
    private String ruleCode;
    
    @ApiModelProperty(name = "ruleName", value = "规则名称")     
    private String ruleName;
    
    @ApiModelProperty(name = "approveStatus", value = "审批状态(0.草稿,10.已提交,20.已通过,30.未通过,40.历史)")
    private Integer approveStatus;
    
    @ApiModelProperty(name = "approveTime", value = "审批时间")     
    private Date approveTime;
    
    @ApiModelProperty(name = "version", value = "版本号")     
    private Integer version;
    
    @ApiModelProperty(name = "orgId", value = "机构id")     
    private String orgId;
    
    @ApiModelProperty(name = "orgName", value = "机构名称")     
    private String orgName;
    
    @ApiModelProperty(name = "regionCode", value = "区域编号")     
    private String regionCode;
    
    @ApiModelProperty(name = "regionName", value = "区域名称")     
    private String regionName;

    @ApiModelProperty(name = "lockStatus", value = "锁定状态（10=正常,20=删除中,30=变更中）")
    private Integer lockStatus;

    @ApiModelProperty(name = "historyType", value = "历史类型（10=正常,20=变更,30=删除）")
    private Integer historyType;

    @ApiModelProperty(value = "特殊房屋交易类型（1=新建,2=变更）")
    private Integer specialType;
}